package ModelLayer;

public class City {
    
    //instance variables 
    private int codeZip;
    private String city;
    public City() {
        
    }
    public City(int codeZip){
        this.codeZip = codeZip;
    }
    public City(int codeZip, String city)
    {
        this.codeZip = codeZip;
        this.city = city;
    }
    //set methods
    public void setCodeZip(int codeZip)
    {
        this.codeZip = codeZip;
    }
    public void setCity (String city){
        this.city = city;
    }
    //get method
    public int getCodeZip()
    {
        return codeZip;
    }
    public String getCity()
    {
        return city;
    }
}